﻿using System.ComponentModel;

namespace Xwltz.Net.Enum
{
    public enum DataScopeType
    {
        /// <summary>
        /// 全部数据
        /// </summary>
        [Description("全部数据")]
        All = 1,

        /// <summary>
        /// 本部门及以下数据
        /// </summary>
        [Description("本部门及以下数据")]
        DeptWithChild = 2,

        /// <summary>
        /// 本部门数据
        /// </summary>
        [Description("本部门数据")]
        Dept = 3,

        /// <summary>
        /// 仅本人数据
        /// </summary>
        [Description("仅本人数据")]
        Self = 4,

        /// <summary>
        /// 仅本人数据
        /// </summary>
        [Description("本人及下属")]
        SelfWithChild = 5,

        /// <summary>
        /// 自定义数据
        /// </summary>
        [Description("自定义数据")]
        Define = 6
    }
}
